home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / falcon / programm.ing / nt_dsp1.lzh / NT_DSP1.MSA / LFLTS / LATFIR2.HLP < prev    next >
Text File  |  1989-01-24  |  1KB  |  33 lines

  1.          Name: LATFIR2.ASM
  2.          Type: Assembler Macro
  3.       Version: 1.0
  4.   Last Change:  8-Aug-86
  5.  
  6.   Description: Lattice FIR Filter Assembler Macro
  7.  
  8.  This macro implements a lattice fir filter using reflection coefficients.
  9.  This implementation is similar to the filter LATFIR1 except that the
  10.  modulo on the coefficients is equal to the filter order compared to
  11.  LATFIR1 where the modulo is equal to the filter order plus one.
  12.  
  13.  It is possible to modify the LATFIR1 slightly  such  that the
  14.  number   of   locations   needed  to  store  the  filter coefficients
  15.  is equal to the  number  of  filter  coefficients (note in  the
  16.  implementation of LATFIR1 there is an unused value).
  17.  The filter macro is identical to the filter macro 'latfir1'
  18.  except for the last instruction.  The pointers  R0
  19.  and  R4  are both adjusted by using dummy loads.  The memory map is
  20.  thus:
  21.  
  22.        R0                 R4
  23.        |                  |
  24.        v                  v
  25.    x:  S1 S2 S3 Sx     y: k1 k2 k3
  26.  
  27.         M0=3 (mod 4)       M4=2 (mod 3)
  28.  
  29.  The modulo register for the coefficients is set equal  to  the
  30.  number  of  filter coefficients minus one (the modulo register
  31.  is set to the desired modulo minus one).  See the example
  32.  'latfir2t' in the DSPLIB for an example of how to use this filter.
  33.